using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace FreeSqlLearn {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class rq_jsbSetting {

		[JsonProperty]
		public Guid id { get; set; }

		/// <summary>
		/// 是否复训/多人计时班，0否，1是
		/// </summary>
		[JsonProperty]
		public int? IsRepeateTran { get; set; }

		[JsonProperty]
		public Guid? JxCode { get; set; }

		/// <summary>
		/// t1-t2扣除的费用
		/// </summary>
		[JsonProperty]
		public int kf2 { get; set; }

		/// <summary>
		/// t2-t3之间扣除的费用
		/// </summary>
		[JsonProperty]
		public int kf3 { get; set; }

		/// <summary>
		/// 每天预约最大次数
		/// </summary>
		[JsonProperty, Column(CanInsert = false)]
		public int num { get; set; } = 3;

		[JsonProperty]
		public int t0 { get; set; }

		/// <summary>
		/// T1之前不扣钱
		/// </summary>
		[JsonProperty]
		public int t1 { get; set; }

		/// <summary>
		/// t1-t2扣除kf2金额的钱
		/// </summary>
		[JsonProperty]
		public int t2 { get; set; }

		/// <summary>
		/// t2-t3之间 扣除kf3金额   T3之后不允许取消预约
		/// </summary>
		[JsonProperty]
		public int t3 { get; set; }

		/// <summary>
		/// 科目
		/// </summary>
		[JsonProperty]
		public int type { get; set; }

	}

}
